package com.zzw.futures;

import java.util.Map;

/**
 * @author Administrator
 */
@FunctionalInterface
public interface IWorker<T, V> {

    V action(T object, Map<String, WorkerWrapper> allWrappers);


    default V defaultValue() {
        return null;
    }
}
